package cn.tl.org.service.impl;

import cn.tl.base.service.impl.BaseServiceImpl;
import cn.tl.org.domain.Detail;
import cn.tl.org.mapper.DetailMapper;
import cn.tl.org.service.IDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class DetailServiceImpl extends BaseServiceImpl<Detail> implements IDetailService {
    @Autowired
    private DetailMapper detailMapper;

    @Override
    @Transactional
    public void patchDel(Long[] ids) {
        detailMapper.patchDel(ids);
    }
}
